#ifndef STARTUPEDITOR_H
#define STARTUPEDITOR_H

#include "abstracteditor.h"
#include <QTimer>

class StartupEditor : public AbstractEditor
{
    Q_OBJECT

    class View;
public:
    explicit StartupEditor(QObject *parent = 0);
    
    bool init();
signals:
    
public slots:
    
};

class StartupEditor::View : public QWidget
{
    Q_OBJECT
public:
    View(QWidget* parent = 0);
    void paintEvent(QPaintEvent* pEvent);
private:
    void showEvent(QShowEvent*);
    void hideEvent(QHideEvent*);
private slots:
    void onTimer();
private:
    float m_fPos;
    float m_fDir;
    QTimer m_timer;
};

#endif // STARTUPEDITOR_H
